package com.jintian.smart.kernel.job.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 定时任务-更新-开启状态
 */
@Data
public class SmartJobEnabledUpdateForm {

    @Schema(description = "任务id")
    @NotNull(message = "任务id不能为空")
    private Integer jobId;

    @Schema(description = "是否启用")
    @NotNull(message = "是否启用不能为空")
    private Integer enabledFlag;

    @Schema(hidden = true)
    private String updateName;
}
